<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>
       修改房产信息
    </title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="../../css/main.css" media="all">
<%--    <script type="text/javascript" src="../../lib/loading/okLoading.js"></script>--%>

    <style>
        .imgs{display: none;}
    </style>
</head>
<body>
<div class="x-body">
    <form class="layui-form layui-form-pane" action="homeadd2.do" id="add" method="post">
        <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
            <div class="layui-tab-content" >
                <div class="layui-tab-item layui-show">
<%--                        <input type="hidden" name="rooms.id" value="${}"/>--%>
                        <input type="hidden" name="userId" value="${rooms1.user.id}">
                        <input type="hidden" name="buildingId" value="${rooms1.building.id}">
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>房间号
                        </label>
                        <div class="layui-input-block">
                            <input type="text" name="id" autocomplete="off" placeholder=""
                                   class="layui-input" value="${rooms1.id}">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>栋数
                        </label>
                        <div class="layui-input-block">
                            <input type="text" name="region" autocomplete="off" placeholder=""
                                   class="layui-input" value="${rooms1.building.region}">
                        </div>
                    </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>户主名称
                        </label>
                        <div class="layui-input-block">
                            <input type="text" name="name" autocomplete="off" placeholder=""
                                   class="layui-input" value="${rooms1.user.name}">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>联系方式
                        </label>
                        <div class="layui-input-block">
                            <input type="text" name="tel" autocomplete="off" placeholder=""
                                   class="layui-input" value="${rooms1.user.tel}">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>房间数
                        </label>
                        <div class="layui-input-block">
                            <input type="text" name="count" autocomplete="off" placeholder=""
                                   class="layui-input"  value="${rooms1.count}">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>房间描述
                        </label>
                        <div class="layui-input-block">
                            <input type="text" name="describes" autocomplete="off" placeholder=""
                                   class="layui-input"  value="${rooms1.describes}">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>面积
                        </label>
                        <div class="layui-input-block">
                            <input type="text" name="area" autocomplete="off" placeholder="请输入数字"
                                   class="layui-input" value="${rooms1.area}">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>入住时间
                        </label>

                        <div class="layui-input-inline">
                            <input class="layui-input" name="checkingTime" placeholder="入住时间" id="LAY_demorange_s3" value="${rooms1.user.checkingTime}">
                        </div>

                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">
                            <span class='x-red'>*</span>状态
                        </label>

                        <div class="layui-input-inline">
                            <input class="layui-input" name="status" placeholder="状态" id="LAY_demorange_s2" value="${rooms1.status}">
                        </div>

                    </div>
                    <div class="layui-form-item">
                        <button class="layui-btn" type="submit" lay-filter="add" lay-submit="">
                            保存
                        </button>
                    </div>
                    <!--</form>-->
                    <div style="height:100px;"></div>
                </div>

            </div>


    </form>
</div>
<script src="../../lib/layui/layui.js" charset="utf-8"></script>
<script src="../../js/x-layui.js" charset="utf-8"></script>
<script src="../../js/jquery.min.js" charset="utf-8"></script>
<!--<script src="/static/xiyuan/js/jquery.js" charset="utf-8"></script>-->
<script>

</script>
<!--栏目缩略图上传-->
<script>

    /*$("#community_id").blur(function(){
        communidy()
    });*/


    //window.onload = communidy;

</script>

</body>
</html>